package com.company.cuobuliao.ui.register;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;

import com.company.cuobuliao.R;
import com.company.cuobuliao.base.BaseActivity;
import com.company.cuobuliao.main.MainActivity;
import com.company.cuobuliao.ui.login.LoginActivity;

/**
 * Created by Oreo on 2017/8/14.
 */

public class RegisterActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        initView();
    }

    private void initView() {
        findViewById(R.id.tvRegister).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                startActivity(new Intent(RegisterActivity.this, RegisterOkActivity.class));
                finish();
            }
        });
        findViewById(R.id.tvFinish).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
    }
}
